home *** CD-ROM | disk | FTP | other *** search
/ Australian Personal Computer 2004 July / APC0407D2.iso / workshop / onlineco / files / ImageMagick-6.0.1-Q16-windows-dll.exe / {app} / include / magick / constitute.h < prev    next >
Encoding:
C/C++ Source or Header  |  2004-04-07  |  1.7 KB  |  73 lines

  1. /*
  2.   ImageMagick image constitution methods.
  3. */
  4. #ifndef _MAGICK_CONSTITUTE_H
  5. #define _MAGICK_CONSTITUTE_H
  6.  
  7. #if defined(__cplusplus) || defined(c_plusplus)
  8. extern "C" {
  9. #endif
  10.  
  11. typedef enum
  12. {
  13.   UndefinedQuantum,
  14.   AlphaQuantum,
  15.   BlackQuantum,
  16.   BlueQuantum,
  17.   CMYKAQuantum,
  18.   CMYKQuantum,
  19.   CyanQuantum,
  20.   GrayAlphaQuantum,
  21.   GrayAlphaQuark,
  22.   GrayQuantum,
  23.   GrayQuark,
  24.   GreenQuantum,
  25.   IndexAlphaQuantum,
  26.   IndexAlphaQuark,
  27.   IndexQuantum,
  28.   IndexQuark,
  29.   MagentaQuantum,
  30.   OpacityQuantum,
  31.   RedQuantum,
  32.   RGBAQuantum,
  33.   RGBQuantum,
  34.   YellowQuantum
  35. } QuantumType;
  36.  
  37. typedef enum
  38. {
  39.   UndefinedPixel,
  40.   CharPixel,
  41.   ShortPixel,
  42.   IntegerPixel,
  43.   LongPixel,
  44.   FloatPixel,
  45.   DoublePixel
  46. } StorageType;
  47.  
  48. extern MagickExport Image
  49.   *ConstituteImage(const unsigned long,const unsigned long,const char *,
  50.     const StorageType,const void *,ExceptionInfo *),
  51.   *PingImage(const ImageInfo *,ExceptionInfo *),
  52.   *ReadImage(const ImageInfo *,ExceptionInfo *),
  53.   *ReadInlineImage(const ImageInfo *,const char *,ExceptionInfo *);
  54.  
  55. extern MagickExport unsigned int
  56.   ExportImagePixels(const Image *,const long,const long,const unsigned long,
  57.     const unsigned long,const char *,const StorageType,void *,ExceptionInfo *),
  58.   ImportImagePixels(Image *,const long,const long,const unsigned long,
  59.     const unsigned long,const char *,const StorageType,const void *),
  60.   PopImagePixels(Image *,const QuantumType,unsigned char *),
  61.   PushImagePixels(Image *,const QuantumType,const unsigned char *),
  62.   WriteImage(const ImageInfo *,Image *),
  63.   WriteImages(const ImageInfo *,Image *,const char *,ExceptionInfo *);
  64.  
  65. extern MagickExport void
  66.   DestroyConstitute(void);
  67.  
  68. #if defined(__cplusplus) || defined(c_plusplus)
  69. }
  70. #endif
  71.  
  72. #endif
  73.